package com.security.service;

import com.security.model.AuthenticationRequest;
import com.security.model.UserDTO;

/**
 * @ClassName AuthenticationService
 * @Version 1.0
 * @Author Wulc
 * @Date 2022-05-15 17:15
 * @Description
 */
public interface AuthenticationService {
    /**
     * 用户认证
     *
     * @param authenticationRequest 用户认证请求，账号和密码
     * @return 认证成功的用户信息
     */
    UserDTO authentication(AuthenticationRequest authenticationRequest);
}
